const routesListModule = {
  namespaced: true,
  state: {
    customersRoutesList: [],
  },
  mutations: {
    // 设置路由，菜单中使用到
    getRoutesList(state, data) {
      state.customersRoutesList = data;
    },
  },
  actions: {
    // 设置路由，菜单中使用到
    async setRoutesList({ commit }, data) {
      commit('getRoutesList', data);
    },
  },
};

export default routesListModule;
